package com.tencent.mm.opensdk.b;

import android.os.Bundle;
import android.util.Log;

public final class a {
    public static int a(Bundle arg5, String arg6) {
        int v0 = -1;
        if(arg5 != null) {
            int v1 = -1;
            try {
                v0 = arg5.getInt(arg6, v1);
            }
            catch(Exception v1_1) {
                Log.e("MicroMsg.IntentUtil", "getIntExtra exception:" + v1_1.getMessage());
            }
        }

        return v0;
    }

    public static String b(Bundle arg5, String arg6) {
        String v0 = null;
        if(arg5 != null) {
            try {
                v0 = arg5.getString(arg6);
            }
            catch(Exception v1) {
                Log.e("MicroMsg.IntentUtil", "getStringExtra exception:" + v1.getMessage());
            }
        }

        return v0;
    }
}

